import { ClickCtrlId, RoundState } from '../define/BattleDefine';

/**
 * 战场控制类 存一些控制变量 或者方法
 */
export default class BattleCtrl {
  private static _inst: BattleCtrl;

  public static get inst(): BattleCtrl {
    if (!this._inst) {
      this._inst = new BattleCtrl();
    }
    return this._inst;
  }

  public clickCtrl: ClickCtrlId = ClickCtrlId.ClickHero;

  public roundState: RoundState = RoundState.End;
}
